﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StoragePeriod.Model.FoodTesting;

namespace StoragePeriod.IDAL.FoodTesting
{
    /// <summary>
    /// 感官评分接口
    /// </summary>
    public interface I_ScoreData
    {
        /// <summary>
        /// 获取检查实体
        /// </summary>
        /// <param name="eScoreData">查询ID</param>
        /// <returns>返回对应的实体</returns>
        List<E_ScoreData> GetDataEntityByTime(E_ScoreData eScoreData);

        /// <summary>
        /// 添加一条数据
        /// </summary>
        /// <param name="eScoreData">要添加的实体</param>
        /// <returns>返回是否添加成功</returns>
        int Add(E_ScoreData eScoreData);

        /// <summary>
        /// 根据原料ID和检测时间 删除检测记录
        /// </summary>
        /// <param name="eVcData">要删除的检测记录</param>
        /// <returns></returns>
        int RemoveByTime(E_ScoreData eScoreData);
    }
}
